import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:woo_shop/Global.dart';
import 'package:woo_shop/common/routers/index.dart';

void main() async {
  await Global.init();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
      ),
      initialRoute: RouteNames.systemLogin,
      getPages: RoutePages.list,
    );
  }
}
